package day01;

public class demo7 {
    public static void main(String[] args) {
                int num = 201;
                boolean zhishu;
                int a;
                while (true) {
                    zhishu = true;
                    for (a = 2; a * a <= num; a++) {
                        if (num % a == 0) {
                            zhishu = false;
                            break;
                        }
                    }
                    if (zhishu) {
                        System.out.println("大于200的最小的质数是: " + num);
                        break;
                    }
                    num++;
                }
            }


        }

